/* base.css 基础样式 -- 存放针对当前项目书写的公共样式*/
:root {
  /* 主题色 */
  --color-primary: #f75148;
  /* 内容宽度 */
  --container-width: calc(100% - 240px);
  /* 头部html的高度 */
  /* 变量的好处：如果有多处代码都使用了此高度，修改变量 就能实现一次修改 全部生效 -- 便于后期改需求 */
  --header-height: 80px;
  /* 脚部html的高度 */
  --footer-height: 100px;
  /* 最小宽度 */
  --container-min-width: 1080px;
  /* 标题颜色 */
  --title-color: #795548;
  /* 小型灰色字体颜色 */
  --font_2:#636361;
}

#header {
  background-color: #fff;
  height: var(--header-height);
  position: fixed;
  top: 0;
  width: 100%;
  /* 定位方式的元素常见层级：全局弹窗1000 头部栏100 普通的10 */
  z-index: 100;
}
body {
  /* 把头部栏占据的位置，空出来 */
  /* padding-top: var(--header-height); */
  /* 最小宽度 */
  min-width: var(--container-width);
}
#footer {
  background-color: #222221;
  height: var(--footer-height);
  width: 100%;
  /* 最小宽度 */
  min-width: var(--container-width);
  text-align: center;
}

/* 滚动栏 */
::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
/* 滚动栏的轨道 */
::-webkit-scrollbar-track {
  background-color: #ddd9cf;
}
/* 滚动栏滑块 */
::-webkit-scrollbar-thumb {
  background-color: #b3aa94;
  border-radius: 6px;
}

/* 面包屑导航 */
.breadcrumb {
  padding: 10px 0;
}

/*  */
.line-2 {
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: break-word;
  word-break: break-all;
  white-space: normal;
  overflow: hidden;
}


.container{
  min-height: 600px;
    width: 100%;
    padding: 20px 120px;
    margin: 30px auto 0;
    display: flex;
    justify-content: center;
    position: relative;
}

.v-note-wrapper .v-note-panel .v-note-navigation-wrapper.transition{
  display: none;
}

.body-main{
  min-height: 600px;
    background-color: var(--head-bg);
    width: 1200px;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px 6px rgba(7, 17, 27, 0.06);
    padding: 50px 40px;
}

.main-item-card{
  border-radius: 10px;
      background: hsla(0, 0%, 100%, 0.1);
      box-shadow: 0 3px 8px 6px rgba(7, 17, 27, 0.06);
      transition: 0.3s;
      margin-top: 20px;
}
.main-item-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 3px 8px 6px rgba(7, 17, 27, 0.15 );
}

body{
  cursor: url('../normal.png'),auto;
}
a,button{
  cursor: url('../link.png'),auto ;
}
.mouseCursorLink{
  cursor: url('../link.png'),auto ;
}

.hljs{
  font-size: 180%;
  padding: .5em 2em;
}


/* Mood 心情页及心情评论页的样式 */

.talk-info {
  display: flex;
  align-items: flex-start;
}
.talk-info > .user-avater {
  width: 45px;
  height: 45px;
  min-height: 45px;
  max-width: 45px;
}
.talk-info > .user-avater > img {
  width: 100%;
  border-radius: 50%;
  transition: transform 0.5s;
}
.talk-info > .user-avater > img:hover {
  transform: rotate(360deg);
}
.talk-info > .user-detail {
  flex: 1;
  margin-left: 10px;
}
.talk-info > .user-detail > .user-nickname {
  font-size: 15px;
  font-weight: 700;
  vertical-align: middle;
}
.talk-info > .user-detail > .time {
  color: #999;
  margin-top: 2px;
  font-size: 12px;
}
.talk-info > .user-detail > .talk-content {
  margin-top: 8px;
  font-size: 14px;
  white-space: pre-line;
  word-wrap: break-word;
  word-break: break-all;
}
.talk-info > .user-detail > .talk-operation {
  margin-top: 10px;
  display: flex;
  align-items: center;
}
.talk-info > .user-detail > .talk-operation > i {
  font-size: 20px;
  margin-right: 0.5em;
}
.talk-info > .user-detail > .talk-operation > i:nth-child(2) {
  margin-left: 40px;
}/*# sourceMappingURL=mood.css.map */
.nav_bg{
  background-color: var(--head-bg) !important;
}

.HeartAnimation {
  position: absolute;
  background-image: url('http://127.0.0.1:5000/like.png');
  background-position: left;
  background-repeat: no-repeat;
  /*background-size: 2900%;*/
  height: 50px;
  width: 100px;
  left: 0%;
  top: 50%;
  -ms-transform: translate(-50%, -47.5%);
  transform: translate(0%, -47.5%) scale(0.7)
}

.like-active {
  animation-timing-function: steps(28);
  animation-name: heart-burst;
  animation-duration: .8s;
  animation-iteration-count: 1;
  display: inline-block;
  animation-fill-mode: forwards;

}

/*.HeartAnimation :hover {*/
/*background-position: 3.571428571428571%*/
/*}*/

@keyframes heart-burst {
  0% {
      background-position: left
  }

  100% {
      background-position: right
  }
}